package com.weiwu.weiwustore.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * store
 * 仓库表
 */
@Data
@TableName("store")
public class Store implements java.io.Serializable {
    @TableId(type = IdType.AUTO)
    /** 仓库id */
    private Integer id;
    /**
     * 用户名称
     */
    @TableField("sname")
    private String sname;
    /**
     * 仓库地址
     */
    @TableField("address")
    private String address;
    /**
     * 仓库描述
     */
    @TableField("introduce")
    private String introduce;
    /**
     * 数据创建时间
     */
    @TableField("createtime")
    private Date createtime;
    /**
     * 数据最新修改时间
     */
    @TableField("updatetime")
    private Date updatetime;
    public Store (){}
    public Store (String sname,String address,String introduce){
        this.sname = sname;
        this.address = address;
        this.introduce = introduce;
    }
}
